<div class="panel panel-warning">
<div class="panel-heading title"><span class="text-black">LIST OF PERSIAN LAWYERS</span></div>
<?php 
			if($this->commoncall->getModule('Featured Listing') == '51'){
				echo Modules::run('listing/featured/showListing',$cityID=0,$limit=3);
			}
			?>
			</div>
<div class="panel panel-info">

	<div class="panel-heading title"><span class="text-black">LIST OF : <?= $title;?></span></div>
	
	<?php if($listing['all'] == FALSE){?>
	</p>
	<div class='alert alert-warning'>
  Opps! No Data found on <?= $title;?>
</div>
	
	<ul class="list-group ">

<?php }else{foreach($listing['all'] as $listing):?>
		<li class="list-group-item clearfix"> <img
			class="col-lg-2 img-responsive" alt="Responsive image"
			src="<?=base_url();?>assets/images/photo/<?= $listing->photo;?>">

			<div class="col-lg-10">

				<h4 class="list-group-item-heading">
					<a class="text-danger" href="<?= base_url();?>profile/<?= $this->commoncall->url($listing->title);?>-<?= $listing->id;?>"><strong><?= $listing->title; ?></a>
				</h4>
				
				<p class="list-group-item-text text-muted">
					<strong> <?= $listing->address1;?> <?= $listing->address2;?>
					</strong>
				</p>



				<div class="list-group-item-text text-muted">
					<div class="text-info">
						<?= $listing->city != '' ? $this->location_model->get_city_data($listing->city)->cityname : ''; ?>
						<?= $listing->state != '' ? ", ".$this->location_model->get_region_data($listing->state)->statename : ''; ?>
					</div>
				</div>

				<p>
				
				
				<ul class="list-inline small">
					<span>Area :</span>
					<?php
				$keyword = $this->listing_model->getKeywordAll($listing->id,5);
				?>
				<?php if($keyword){?>
				<?php foreach($keyword as $keyword):?>
				<?= $this->listing_model->getCategory($keyword->term_value)->name;?>,
				<?php endforeach;}?>
				</ul>
				</p>

				<p>
					<img class="img-responsive pull-left" alt="Responsive image"
						src="<?=base_url();?>assets/images/three-stars.png"> &nbsp;<small>
						<?= $this->listing_model->count_reviews($listing->id);?> reviews</small>
				</p>

			</div>
		
		</li>
		<?php endforeach;
		
			?>
		
		
	</ul>
	
	<!-- <div class="panel-footer">Pagination Link</div> -->
	<?php }?>
	
	
</div>




